package es.ikex.pojo;

public class GeneradorCodigo {
	public static String getCodigo(String c, int a){
		String b = "";
		if(!c.equals("")){
			a++;
			b=a+"";
			while(b.length()<3){
				b = "0"+b;
			}
		}
		else{
			b = "000";
		}
		return b;
	}
}
